package com.example.lxj.LegalCase.mapper;

import java.util.List;
import com.example.lxj.LegalCase.entity.TbCaseRegistration;

/**
 * 案件登记Mapper接口
 * 
 * @author lxj
 * @date 2024-10-23
 */
public interface TbCaseRegistrationMapper 
{
    /**
     * 查询案件登记
     * 
     * @param id 案件登记主键
     * @return 案件登记
     */
    public TbCaseRegistration selectTbCaseRegistrationById(Long id);

    /**
     * 查询案件登记列表
     * 
     * @param tbCaseRegistration 案件登记
     * @return 案件登记集合
     */
    public List<TbCaseRegistration> selectTbCaseRegistrationList(TbCaseRegistration tbCaseRegistration);

    /**
     * 新增案件登记
     * 
     * @param tbCaseRegistration 案件登记
     * @return 结果
     */
    public int insertTbCaseRegistration(TbCaseRegistration tbCaseRegistration);

    /**
     * 修改案件登记
     * 
     * @param tbCaseRegistration 案件登记
     * @return 结果
     */
    public int updateTbCaseRegistration(TbCaseRegistration tbCaseRegistration);

    /**
     * 删除案件登记
     * 
     * @param id 案件登记主键
     * @return 结果
     */
    public int deleteTbCaseRegistrationById(Long id);

    /**
     * 批量删除案件登记
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbCaseRegistrationByIds(Long[] ids);
}
